package com.maixun.uitrasound

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.lmoumou.lib_domian.DomainLauncher
import com.maixun.uitrasound.splash.SplashActivity

/**
 * @author：Lmoumou
 * @date：2020/10/14
 */
class FirstActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        if (BuildConfig.DEBUG) {
            DomainLauncher.getInstance().startDomainActivity(this, SplashActivity::class.java)
        } else {
            SplashActivity.startThis(this)
        }
        finish()
    }
}